/*!
 * Copyright 2019 WeBank
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

@import '@dataspherestudio/shared/common/style/variables.scss';
.we-side-bar {
    height: 100%;
    overflow: hidden;
    padding-top: 3px;
    .datasource-select{
        padding: 3px 10px 5px;
        border-bottom: 1px solid #eee;
        @include border-color($border-color-base, $dark-menu-base-color);
        .ivu-select-selection {
            border: none;
        }
    }
    @include bg-color($light-base-color, $dark-menu-base-color);
    .we-side-bar-content {
        height: calc(100% - 33px);
        overflow-y: auto;
        &::-webkit-scrollbar {
            width: 6px;
            height: 1px;
        }
        &::-webkit-scrollbar-thumb {
            border-radius: $border-radius-base;
            box-shadow: $shadow-inset;
            background: $subsidiary-color;
        }
        &::-webkit-scrollbar-track {
            border-radius: $border-radius-base;
            box-shadow: $shadow-inset;
            @include bg-color($light-base-color, $dark-menu-base-color);
        }
        &.v-hivedb-list {
            height: calc(100% - 63px);
        }
    }
}
